package com.want.req.blog.dto;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.SuperBuilder;

import java.io.Serializable;

/**
 * @author WangZhiJian
 * @since 2021/11/28 0028
 */
@Data
@SuperBuilder
@NoArgsConstructor
@AllArgsConstructor
public class CreateBlogDto implements Serializable {

    /**
     * 标题
     */
    private String title;

    private String pic;

    /**
     * 用户id
     */
    private Integer userId;
    /**
     * 类型id
     */
    private Integer typeId;
    /**
     * 标签ids
     */
    private String tagIds;
    /**
     * 是否精华
     */
    private Integer isEssence;

    /**
     * 是否置顶
     */
    private Integer isTop;
    /**
     * 是否在线
     */
    private Integer online;
    private Integer isOriginal;
    private Integer startComment;
    private String author;
    private String articlesPart;

    /**
     * 版权说明
     */
    private String copyright;
    /**
     * 简短的内容
     */
    private String shortContext;

    private String blogContent;
}
